package com.tcy.edu.mapper;

import com.tcy.edu.mapper.base.BaseMapper;
import com.tcy.edu.model.User;

public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据id查询用户信息
     * @param id
     * @return
     */
    public User findUserById(Integer id);

    /**
     * 根据id删除用户信息
     * @param id
     * @return
     */
    public User deleteById(Integer id);

    public void update(User user);

    public void insert(User user);
}
